﻿#pragma once
#include "labelUi.hpp"

class tabUi : public LabelUiBase
{
	DECLARE_DYNAMIC(tabUi)

public:
	tabUi(LabelUiBase* pParentFenceUi,const char* pcDeviceId);
	virtual ~tabUi();

protected:
	DECLARE_MESSAGE_MAP()

	void SetShowTab(int iShow);
public:
    afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
    afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnTcnSelchangeTabControlButton(NMHDR *pNMHDR, LRESULT *pResult);

private:
	CFont				m_font;
	CTabCtrl            m_tabControl;
};


